package cn.tedu.front.details.dao.persest.repository.impl;

import cn.tedu.front.details.dao.persest.mapper.JobCategoryMapper;
import cn.tedu.front.details.dao.persest.repository.JobCategoryRepository;
import cn.tedu.front.details.pojo.vo.ListJobCategoryVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public class JobCategoryRepositoryImpl implements JobCategoryRepository {
    @Autowired(required = false)
    JobCategoryMapper mapper;

    @Override
    public List<ListJobCategoryVO> listAllCategory() {
        return mapper.listAllCategory();
    }
}
